package com.ruoyi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.pojo.Vehicle;
import com.ruoyi.vo.VehicleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface VehicleMapper extends BaseMapper<Vehicle> {
    List<VehicleVo> selectByVehicleAnoModel(@Param("vin") String vin);

    List<Vehicle> selectAll();

    boolean insertVehicle(Vehicle vehicle);

    boolean deleteById1(Long id);
}